package MyThread;


public class Main {
    public static void main(String[] args) {

        MyThread   myThread =new MyThread();
        myThread.start();

        for (int i = 0; i <10 ; i++) {

            System.out.println(Thread.currentThread().getName()+"->"+i);

        }

    }
}